package com.hospital.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;

/**
 * Mybatis-Plus分页插件配置类
 * 
 * @author Mr. Y
 */
@Configuration
public class MybatisPlusConfig {

	@Bean
	public PaginationInterceptor gaginationInterceptor() {
		return new PaginationInterceptor();
	}
}
